package com.scut.fy.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author jy
 * @version 1.0
 * @date 2021/8/5 14:34
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan(basePackages = {"com.scut.fy.admin.mapper"})
@ComponentScan(basePackages = {"com.scut.fy.common.config","com.scut.fy.admin"})
public class FyAdminApplication {
    public static void main(final String[] args) {

        SpringApplication.run(FyAdminApplication.class, args);
    }

}
